#ifndef ORDERCNTDLG_H
#define ORDERCNTDLG_H

#include <QDialog>

namespace Ui {
class OrderCntDlg;
}

class OrderCntDlg : public QDialog
{
    Q_OBJECT

public:
    explicit OrderCntDlg(QWidget *parent = 0);
    ~OrderCntDlg();

    int GetDefaultOrderCnt();
    void SetDefaultOrderCnt(int cnt);

    bool GetPingJinCangFlg();

    bool GetClosePositionFlg();
    QString  GetClosePositionPriceType();
    QString  GetClosePositionCntType();


public slots:
    void OKButtonClicked();
    void EnableAlt(bool b);
    void DefaultCntChanged(const QString &str);

private:
    Ui::OrderCntDlg *ui;
};

#endif // ORDERCNTDLG_H
